package com.lanxin.qx.service;

import com.lanxin.qx.entity.QxRoleFunction;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-08-19
 */
public interface IQxRoleFunctionService extends IService<QxRoleFunction> {
    //根据角色id拿到角色拥有的所有方法
    public List<Integer> getFunctionsByRoleId(Integer roleId);

    public boolean saveRolePermissions(Integer roleId, List<Integer> functionIds) ;
}
